package com.qf.model;

import java.math.BigDecimal;
import java.util.Date;

public class Goods {
    private Integer pid;
    private String pname;
    private BigDecimal price;
    private Date pupTime;
    private Integer pstate;
    private String pdesc;
    private Integer tid;
    private Integer pstuts;
    private String pimage;

    @Override
    public String toString() {
        return "Goods{" +
                "pid=" + pid +
                ", pname=" + pname +
                ", price=" + price +
                ", pupTime=" + pupTime +
                ", pstate=" + pstate +
                ", pdesc='" + pdesc + '\'' +
                ", tid=" + tid +
                ", pstuts=" + pstuts +
                ", pimage='" + pimage + '\'' +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }





    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getPupTime() {
        return pupTime;
    }

    public void setPupTime(Date pupTime) {
        this.pupTime = pupTime;
    }

    public Integer getPstate() {
        return pstate;
    }

    public void setPstate(Integer pstate) {
        this.pstate = pstate;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getPstuts() {
        return pstuts;
    }

    public void setPstuts(Integer pstuts) {
        this.pstuts = pstuts;
    }

    public String getPimage() {
        return pimage;
    }

    public void setPimage(String pimage) {
        this.pimage = pimage;
    }

    public Goods() {
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Goods(Integer pid, String pname, BigDecimal price, Date pupTime, Integer pstate, String pdesc, Integer tid, Integer pstuts, String pimage) {
        this.pid = pid;
        this.pname = pname;
        this.price = price;
        this.pupTime = pupTime;
        this.pstate = pstate;
        this.pdesc = pdesc;
        this.tid = tid;
        this.pstuts = pstuts;
        this.pimage = pimage;
    }
}
